package com.zw.pdm.module.file.repository;

import com.zw.pdm.entity.production.FileSheet;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author mayongfeng
 * @Date 8:55 2020/12/14
 * @Description
 *
 **/
public interface FileSheetRepository extends JpaRepository<FileSheet,Integer> {
    int countBySpecialIdAndPartIdAndProCodeAndIsDel(String specialId, Integer partId, String proCode, int i);

    List<FileSheet> findByProCodeAndPartIdAndSpecialIdAndIsDelAndSheetTypeOrderByIdDesc(String proCode
            ,Integer partId,String specialId, Integer isDel,Integer sheetType);
}
